package com.regent.central.bill.service.mrp;

import com.regent.central.bill.core.mrp.ActionMaterialPurchase;
import com.regent.central.infrastructure.service.DomainService;

import java.util.Set;

public interface ActionMaterialPurchaseService extends DomainService<ActionMaterialPurchase> {

    /**
     * 批量保存采购动作， ID会在本接口自动生成
     *
     * @param actionMaterialPurchases 采购动作列表
     * @return 返回已保存带有ID的动作列表
     */
    Set<ActionMaterialPurchase> saveActions(Set<ActionMaterialPurchase> actionMaterialPurchases);
}